<template>
  <Header/>
  <router-view/>
</template>

<script setup lang="ts">
import Header from '@/components/Header.vue'
import {useVideoStore} from '@/stores'
import {onMounted} from 'vue'
import {reqMockGetVideoList} from '@/api'

const store = useVideoStore()
onMounted(() => {
  store.getVideoList()
  reqMockGetVideoList()
})
</script>

<style scoped></style>
